//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package test.test;

import java.util.Random;

public class 抢红包 {
    public 抢红包() {
    }

    public static void main(String[] args) {
        int[] ints = new int[]{2, 588, 888, 1000, 10000};
        draw(ints);
    }

    private static void draw(int[] ints) {
        Random rand = new Random();

        for(int i = 0; i < ints.length; ++i) {
            int index = rand.nextInt(ints.length);
            int t = ints[i];
            ints[i] = ints[index];
            ints[index] = t;
        }

        for(int i = 0; i < ints.length; ++i) {
            System.out.println(ints[i] + " 元的奖金被抽出");
        }

    }
}
